/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.hcht.xrlh.drhis.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.hcht.xrlh.drhis.entity.DrHis;
import com.hcht.xrlh.drhis.dao.DrHisDao;

/**
 * 随机抽取历史Service
 * @author lrz
 * @version 2016-12-26
 */
@Service
@Transactional(readOnly = true)
public class DrHisService extends CrudService<DrHisDao, DrHis> {

	public DrHis get(String id) {
		return super.get(id);
	}
	
	public List<DrHis> findList(DrHis drHis) {
		return super.findList(drHis);
	}
	
	public Page<DrHis> findPage(Page<DrHis> page, DrHis drHis) {
		return super.findPage(page, drHis);
	}
	
	@Transactional(readOnly = false)
	public void save(DrHis drHis) {
		super.save(drHis);
	}
	
	@Transactional(readOnly = false)
	public void delete(DrHis drHis) {
		super.delete(drHis);
	}
	
}